package cn.dhn_app.horseman_app.entity;

import java.util.ArrayList;
import java.util.List;

public class horseman_accountExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public horseman_accountExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(Integer value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(Integer value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(Integer value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(Integer value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(Integer value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<Integer> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<Integer> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(Integer value1, Integer value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(Integer value1, Integer value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNull() {
            addCriterion("open_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNotNull() {
            addCriterion("open_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenIdEqualTo(String value) {
            addCriterion("open_id =", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotEqualTo(String value) {
            addCriterion("open_id <>", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThan(String value) {
            addCriterion("open_id >", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThanOrEqualTo(String value) {
            addCriterion("open_id >=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThan(String value) {
            addCriterion("open_id <", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThanOrEqualTo(String value) {
            addCriterion("open_id <=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLike(String value) {
            addCriterion("open_id like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotLike(String value) {
            addCriterion("open_id not like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIn(List<String> values) {
            addCriterion("open_id in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotIn(List<String> values) {
            addCriterion("open_id not in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdBetween(String value1, String value2) {
            addCriterion("open_id between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotBetween(String value1, String value2) {
            addCriterion("open_id not between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andAccountNameIsNull() {
            addCriterion("account_name is null");
            return (Criteria) this;
        }

        public Criteria andAccountNameIsNotNull() {
            addCriterion("account_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccountNameEqualTo(String value) {
            addCriterion("account_name =", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotEqualTo(String value) {
            addCriterion("account_name <>", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameGreaterThan(String value) {
            addCriterion("account_name >", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameGreaterThanOrEqualTo(String value) {
            addCriterion("account_name >=", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameLessThan(String value) {
            addCriterion("account_name <", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameLessThanOrEqualTo(String value) {
            addCriterion("account_name <=", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameLike(String value) {
            addCriterion("account_name like", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotLike(String value) {
            addCriterion("account_name not like", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameIn(List<String> values) {
            addCriterion("account_name in", values, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotIn(List<String> values) {
            addCriterion("account_name not in", values, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameBetween(String value1, String value2) {
            addCriterion("account_name between", value1, value2, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotBetween(String value1, String value2) {
            addCriterion("account_name not between", value1, value2, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneIsNull() {
            addCriterion("account_phone is null");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneIsNotNull() {
            addCriterion("account_phone is not null");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneEqualTo(String value) {
            addCriterion("account_phone =", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneNotEqualTo(String value) {
            addCriterion("account_phone <>", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneGreaterThan(String value) {
            addCriterion("account_phone >", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("account_phone >=", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneLessThan(String value) {
            addCriterion("account_phone <", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneLessThanOrEqualTo(String value) {
            addCriterion("account_phone <=", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneLike(String value) {
            addCriterion("account_phone like", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneNotLike(String value) {
            addCriterion("account_phone not like", value, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneIn(List<String> values) {
            addCriterion("account_phone in", values, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneNotIn(List<String> values) {
            addCriterion("account_phone not in", values, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneBetween(String value1, String value2) {
            addCriterion("account_phone between", value1, value2, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountPhoneNotBetween(String value1, String value2) {
            addCriterion("account_phone not between", value1, value2, "accountPhone");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidIsNull() {
            addCriterion("account_typeid is null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidIsNotNull() {
            addCriterion("account_typeid is not null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidEqualTo(Integer value) {
            addCriterion("account_typeid =", value, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidNotEqualTo(Integer value) {
            addCriterion("account_typeid <>", value, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidGreaterThan(Integer value) {
            addCriterion("account_typeid >", value, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_typeid >=", value, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidLessThan(Integer value) {
            addCriterion("account_typeid <", value, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidLessThanOrEqualTo(Integer value) {
            addCriterion("account_typeid <=", value, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidIn(List<Integer> values) {
            addCriterion("account_typeid in", values, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidNotIn(List<Integer> values) {
            addCriterion("account_typeid not in", values, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidBetween(Integer value1, Integer value2) {
            addCriterion("account_typeid between", value1, value2, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountTypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("account_typeid not between", value1, value2, "accountTypeid");
            return (Criteria) this;
        }

        public Criteria andAccountNumberIsNull() {
            addCriterion("account_number is null");
            return (Criteria) this;
        }

        public Criteria andAccountNumberIsNotNull() {
            addCriterion("account_number is not null");
            return (Criteria) this;
        }

        public Criteria andAccountNumberEqualTo(String value) {
            addCriterion("account_number =", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberNotEqualTo(String value) {
            addCriterion("account_number <>", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberGreaterThan(String value) {
            addCriterion("account_number >", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberGreaterThanOrEqualTo(String value) {
            addCriterion("account_number >=", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberLessThan(String value) {
            addCriterion("account_number <", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberLessThanOrEqualTo(String value) {
            addCriterion("account_number <=", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberLike(String value) {
            addCriterion("account_number like", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberNotLike(String value) {
            addCriterion("account_number not like", value, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberIn(List<String> values) {
            addCriterion("account_number in", values, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberNotIn(List<String> values) {
            addCriterion("account_number not in", values, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberBetween(String value1, String value2) {
            addCriterion("account_number between", value1, value2, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountNumberNotBetween(String value1, String value2) {
            addCriterion("account_number not between", value1, value2, "accountNumber");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceIsNull() {
            addCriterion("account_money_balance is null");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceIsNotNull() {
            addCriterion("account_money_balance is not null");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceEqualTo(Double value) {
            addCriterion("account_money_balance =", value, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceNotEqualTo(Double value) {
            addCriterion("account_money_balance <>", value, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceGreaterThan(Double value) {
            addCriterion("account_money_balance >", value, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceGreaterThanOrEqualTo(Double value) {
            addCriterion("account_money_balance >=", value, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceLessThan(Double value) {
            addCriterion("account_money_balance <", value, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceLessThanOrEqualTo(Double value) {
            addCriterion("account_money_balance <=", value, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceIn(List<Double> values) {
            addCriterion("account_money_balance in", values, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceNotIn(List<Double> values) {
            addCriterion("account_money_balance not in", values, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceBetween(Double value1, Double value2) {
            addCriterion("account_money_balance between", value1, value2, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyBalanceNotBetween(Double value1, Double value2) {
            addCriterion("account_money_balance not between", value1, value2, "accountMoneyBalance");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeIsNull() {
            addCriterion("account_money_freeze is null");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeIsNotNull() {
            addCriterion("account_money_freeze is not null");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeEqualTo(Double value) {
            addCriterion("account_money_freeze =", value, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeNotEqualTo(Double value) {
            addCriterion("account_money_freeze <>", value, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeGreaterThan(Double value) {
            addCriterion("account_money_freeze >", value, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeGreaterThanOrEqualTo(Double value) {
            addCriterion("account_money_freeze >=", value, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeLessThan(Double value) {
            addCriterion("account_money_freeze <", value, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeLessThanOrEqualTo(Double value) {
            addCriterion("account_money_freeze <=", value, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeIn(List<Double> values) {
            addCriterion("account_money_freeze in", values, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeNotIn(List<Double> values) {
            addCriterion("account_money_freeze not in", values, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeBetween(Double value1, Double value2) {
            addCriterion("account_money_freeze between", value1, value2, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyFreezeNotBetween(Double value1, Double value2) {
            addCriterion("account_money_freeze not between", value1, value2, "accountMoneyFreeze");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalIsNull() {
            addCriterion("account_money_rental is null");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalIsNotNull() {
            addCriterion("account_money_rental is not null");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalEqualTo(Double value) {
            addCriterion("account_money_rental =", value, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalNotEqualTo(Double value) {
            addCriterion("account_money_rental <>", value, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalGreaterThan(Double value) {
            addCriterion("account_money_rental >", value, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalGreaterThanOrEqualTo(Double value) {
            addCriterion("account_money_rental >=", value, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalLessThan(Double value) {
            addCriterion("account_money_rental <", value, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalLessThanOrEqualTo(Double value) {
            addCriterion("account_money_rental <=", value, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalIn(List<Double> values) {
            addCriterion("account_money_rental in", values, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalNotIn(List<Double> values) {
            addCriterion("account_money_rental not in", values, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalBetween(Double value1, Double value2) {
            addCriterion("account_money_rental between", value1, value2, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountMoneyRentalNotBetween(Double value1, Double value2) {
            addCriterion("account_money_rental not between", value1, value2, "accountMoneyRental");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultIsNull() {
            addCriterion("account_earnings_default is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultIsNotNull() {
            addCriterion("account_earnings_default is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultEqualTo(Double value) {
            addCriterion("account_earnings_default =", value, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultNotEqualTo(Double value) {
            addCriterion("account_earnings_default <>", value, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultGreaterThan(Double value) {
            addCriterion("account_earnings_default >", value, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_default >=", value, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultLessThan(Double value) {
            addCriterion("account_earnings_default <", value, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_default <=", value, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultIn(List<Double> values) {
            addCriterion("account_earnings_default in", values, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultNotIn(List<Double> values) {
            addCriterion("account_earnings_default not in", values, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultBetween(Double value1, Double value2) {
            addCriterion("account_earnings_default between", value1, value2, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsDefaultNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_default not between", value1, value2, "accountEarningsDefault");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeIsNull() {
            addCriterion("account_earnings_recharge is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeIsNotNull() {
            addCriterion("account_earnings_recharge is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeEqualTo(Double value) {
            addCriterion("account_earnings_recharge =", value, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeNotEqualTo(Double value) {
            addCriterion("account_earnings_recharge <>", value, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeGreaterThan(Double value) {
            addCriterion("account_earnings_recharge >", value, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_recharge >=", value, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeLessThan(Double value) {
            addCriterion("account_earnings_recharge <", value, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_recharge <=", value, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeIn(List<Double> values) {
            addCriterion("account_earnings_recharge in", values, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeNotIn(List<Double> values) {
            addCriterion("account_earnings_recharge not in", values, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeBetween(Double value1, Double value2) {
            addCriterion("account_earnings_recharge between", value1, value2, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRechargeNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_recharge not between", value1, value2, "accountEarningsRecharge");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeIsNull() {
            addCriterion("account_earnings_consume is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeIsNotNull() {
            addCriterion("account_earnings_consume is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeEqualTo(Double value) {
            addCriterion("account_earnings_consume =", value, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeNotEqualTo(Double value) {
            addCriterion("account_earnings_consume <>", value, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeGreaterThan(Double value) {
            addCriterion("account_earnings_consume >", value, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_consume >=", value, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeLessThan(Double value) {
            addCriterion("account_earnings_consume <", value, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_consume <=", value, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeIn(List<Double> values) {
            addCriterion("account_earnings_consume in", values, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeNotIn(List<Double> values) {
            addCriterion("account_earnings_consume not in", values, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeBetween(Double value1, Double value2) {
            addCriterion("account_earnings_consume between", value1, value2, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsConsumeNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_consume not between", value1, value2, "accountEarningsConsume");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendIsNull() {
            addCriterion("account_earnings_recommend is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendIsNotNull() {
            addCriterion("account_earnings_recommend is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendEqualTo(Double value) {
            addCriterion("account_earnings_recommend =", value, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendNotEqualTo(Double value) {
            addCriterion("account_earnings_recommend <>", value, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendGreaterThan(Double value) {
            addCriterion("account_earnings_recommend >", value, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_recommend >=", value, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendLessThan(Double value) {
            addCriterion("account_earnings_recommend <", value, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_recommend <=", value, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendIn(List<Double> values) {
            addCriterion("account_earnings_recommend in", values, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendNotIn(List<Double> values) {
            addCriterion("account_earnings_recommend not in", values, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendBetween(Double value1, Double value2) {
            addCriterion("account_earnings_recommend between", value1, value2, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsRecommendNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_recommend not between", value1, value2, "accountEarningsRecommend");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareIsNull() {
            addCriterion("account_earnings_share is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareIsNotNull() {
            addCriterion("account_earnings_share is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareEqualTo(Double value) {
            addCriterion("account_earnings_share =", value, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareNotEqualTo(Double value) {
            addCriterion("account_earnings_share <>", value, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareGreaterThan(Double value) {
            addCriterion("account_earnings_share >", value, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_share >=", value, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareLessThan(Double value) {
            addCriterion("account_earnings_share <", value, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_share <=", value, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareIn(List<Double> values) {
            addCriterion("account_earnings_share in", values, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareNotIn(List<Double> values) {
            addCriterion("account_earnings_share not in", values, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareBetween(Double value1, Double value2) {
            addCriterion("account_earnings_share between", value1, value2, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsShareNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_share not between", value1, value2, "accountEarningsShare");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionIsNull() {
            addCriterion("account_earnings_one_distribution is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionIsNotNull() {
            addCriterion("account_earnings_one_distribution is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionEqualTo(Double value) {
            addCriterion("account_earnings_one_distribution =", value, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionNotEqualTo(Double value) {
            addCriterion("account_earnings_one_distribution <>", value, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionGreaterThan(Double value) {
            addCriterion("account_earnings_one_distribution >", value, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_one_distribution >=", value, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionLessThan(Double value) {
            addCriterion("account_earnings_one_distribution <", value, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_one_distribution <=", value, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionIn(List<Double> values) {
            addCriterion("account_earnings_one_distribution in", values, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionNotIn(List<Double> values) {
            addCriterion("account_earnings_one_distribution not in", values, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionBetween(Double value1, Double value2) {
            addCriterion("account_earnings_one_distribution between", value1, value2, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsOneDistributionNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_one_distribution not between", value1, value2, "accountEarningsOneDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionIsNull() {
            addCriterion("account_earnings_two_distribution is null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionIsNotNull() {
            addCriterion("account_earnings_two_distribution is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionEqualTo(Double value) {
            addCriterion("account_earnings_two_distribution =", value, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionNotEqualTo(Double value) {
            addCriterion("account_earnings_two_distribution <>", value, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionGreaterThan(Double value) {
            addCriterion("account_earnings_two_distribution >", value, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionGreaterThanOrEqualTo(Double value) {
            addCriterion("account_earnings_two_distribution >=", value, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionLessThan(Double value) {
            addCriterion("account_earnings_two_distribution <", value, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionLessThanOrEqualTo(Double value) {
            addCriterion("account_earnings_two_distribution <=", value, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionIn(List<Double> values) {
            addCriterion("account_earnings_two_distribution in", values, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionNotIn(List<Double> values) {
            addCriterion("account_earnings_two_distribution not in", values, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionBetween(Double value1, Double value2) {
            addCriterion("account_earnings_two_distribution between", value1, value2, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }

        public Criteria andAccountEarningsTwoDistributionNotBetween(Double value1, Double value2) {
            addCriterion("account_earnings_two_distribution not between", value1, value2, "accountEarningsTwoDistribution");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}